﻿<Window x:Class="UsingWindowsFormsElements.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:wf="clr-namespace:System.Windows.Forms;assembly=System.Windows.Forms"
        Title="MainWindow" Height="350" Width="525">
    <Grid>
        <WindowsFormsHost Height="25" HorizontalAlignment="Left" Margin="10,10,0,0" Name="windowsFormsHost1" VerticalAlignment="Top" Width="200">
            <wf:MaskedTextBox Name="MaskedTextBox" Mask="(000)-000-0000" />
        </WindowsFormsHost>
        <Button Height="20" Margin="10,50,10,0" Name="Button1" VerticalAlignment="Top" Click="Button1_Click">Add to Collection</Button>
        <Button Height="20" Margin="10,0,10,10" Name="Button2" VerticalAlignment="Bottom" Click="Button2_Click">Save Collection to File</Button>
    </Grid>
</Window>
